package com.yunxi.sto.pojo;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yunxi.core.web.DateJsonDeserializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 车辆冻结原因
 * </p>
 *
 * @author caoYong
 * @since 2019-05-21
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(value="StoFrozenReason对象", description="车辆冻结原因")
public class StoFrozenReasonVO extends StoFrozenReasonListVO implements Serializable {

    @ApiModelProperty(value = "主键ID")
    private String frozenReasonId;

    @ApiModelProperty(value = "组织代码")
    private String orgCode;

    @ApiModelProperty(value = "冻结原因KEY")
    private Integer frozenReasonKey;

    @ApiModelProperty(value = "是否系统冻结原因(1是0否)")
    private Integer isSystemReason;

    @ApiModelProperty(value = "创建时间")
    @JsonDeserialize(using = DateJsonDeserializer.class)
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "修改时间")
    @JsonDeserialize(using = DateJsonDeserializer.class)
    private Date updateTime;

    @ApiModelProperty(value = "修改人")
    private String updateBy;

    @ApiModelProperty(value = "是否删除(1是0否)")
    private Integer isDel;

    @ApiModelProperty(value = "是否发送(1是0否)")
    private Integer isSend;

    @ApiModelProperty(value = "版本号")
    private Integer version;

    @ApiModelProperty(value = "部门ID")
    private String orgId;

    @ApiModelProperty(value = "部门名称")
    private String orgName;

}
